package com.qh.order.service;

import com.qh.basic.query.BaseQuery;
import com.qh.basic.util.pageList;
import com.qh.order.domain.OrderPetAcquisition;
import com.qh.basic.service.BaseService;
import com.qh.order.dto.OrderDto;
import com.qh.order.query.OrderPetAcquisitionQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qhao
 * @since 2023-02-21
 */
public interface IOrderPetAcquisitionService extends BaseService<OrderPetAcquisition> {
    pageList<OrderPetAcquisition> pageQuery(OrderPetAcquisitionQuery query, HttpServletRequest request);

    /**
     * 确认订单
     * @param dto
     */
    void confirm(OrderDto dto);
    /**
     * 取消订单
     * @param id
     */
    void cancel(Long id);
}
